package com.bootdo.zk;

import org.apache.zookeeper.CreateMode;

public interface IZKService {
    /**
     * 注册
     */
    public void registry();


    /**
     * 创建新节点
     * @param path
     */
    public String createNode(String path, byte[] data, CreateMode createMode);

}
